package net.mapper;

import net.pojo.User;
import org.apache.ibatis.annotations.Param;

/**
 * @Author admin
 * @Date 2019/3/27 11:27
 */
public interface UserMapper {
   int register(User user);
   User login(@Param(value = "username")String username,@Param(value = "PASSWORD")String PASSWORD);
   int checkUser(String username);
   int checkEmails(String email);
   User findById(int id);
}
